#include <stdio.h>
int FindSum(int arr[], int begin)
{
	if (begin == 4)
	{
		return arr[begin];
	}
		return arr[begin] + FindSum(arr, begin + 1);
}
int main()
{
	int arr[] = { 1,2,3,4,5 };
	int sz = sizeof(arr) / sizeof(arr[0]);
	int ret = FindSum(arr, 0);
	printf("%d", ret);
	return 0;
}